<?php

namespace plugins\rwechat;

use cmf\lib\Plugin;

// require "./vendor/autoload.php";

class RwechatPlugin extends Plugin
{
    public $info = [
        'name'              => 'Rwechat',
        'title'             => '微信管理',
        'description'       => '微信菜单管理,消息管理,素材管理',
        'status'            => 1,
        'author'            => 'rjf',
        'version'     => '1.0',
        'demo_url'    => 'http://demo.thinkcmf.com',
        'author_url'  => 'http://xsand.cn',
    ];

    public $hasAdmin = 1;

    public function install()
    {
        return true;
    }

    public function uninstall()
    {
        return true;
    }

    public function footerStart()
    {
        $config = $this->getConfig();
        $this->assign($config);
    }
}